/**
 * Button 组件类型定义
 */

import type { Size, ButtonType, BaseComponentProps } from '../../types'

// Button 组件属性接口
export interface ButtonProps extends BaseComponentProps {
  type?: ButtonType
  size?: Size
  disabled?: boolean
  loading?: boolean
  htmlType?: 'button' | 'submit' | 'reset'
  block?: boolean
  round?: boolean
  circle?: boolean
}

// Button 组件事件接口
export interface ButtonEmits {
  click: [event: MouseEvent]
}